package com.woniu.project.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.woniu.project.core.domain.ProductSmallType;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.project.dto.productsmalltype.ProdcutSmallTypeSelectDto;
import com.woniu.project.params.productsmalltype.ProdcutSmallTypeAddParam;
import com.woniu.project.params.productsmalltype.ProdcutSmallTypeSelectParam;
import com.woniu.project.params.productsmalltype.ProdcutSmallTypeUpdateParam;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Lucas
 * @since 2020-10-12
 */
public interface IProductSmallTypeService extends IService<ProductSmallType> {

    IPage<ProdcutSmallTypeSelectDto> select(ProdcutSmallTypeSelectParam prodcutSmallTypeSelectParam);

    int addSmallType(ProdcutSmallTypeAddParam prodcutSmallTypeAddParam);

    int updateSmallType(ProdcutSmallTypeUpdateParam prodcutSmallTypeUpdateParam);

    void deleteById(Integer id);
}
